home *** CD-ROM | disk | FTP | other *** search
-
-
-
- IIIIPPPPCCCCSSSS((((1111)))) IIIIPPPPCCCCSSSS((((1111))))
-
-
-
- NNNNAAAAMMMMEEEE
- ipcs - report inter-process communication facilities status
-
- SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- iiiippppccccssss [ options ]
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- _i_p_c_s prints certain information about active inter-process communication
- facilities for which the calling process has read access. Without
- _o_p_t_i_o_n_s, information is printed in short format for message queues,
- shared memory, and semaphores that are currently active in the system.
- Otherwise, the information that is displayed is controlled by the
- following _o_p_t_i_o_n_s:
-
- ----qqqq Print information about active message queues.
-
- ----mmmm Print information about active shared memory segments.
-
- ----ssss Print information about active semaphores.
-
-
- If any of the options ----qqqq, ----mmmm, or ----ssss are specified, information about only
- those indicated will be printed. If none of these three are specified,
- information about all three will be printed subject to these options:
-
-
- ----bbbb Print biggest allowable size information. (Maximum number of bytes
- in messages on queue for message queues, size of segments for shared
- memory, and number of semaphores in each set for semaphores.) See
- below for meaning of columns in a listing.
-
- ----cccc Print creator's login name and group name. See below.
-
- ----oooo Print information on outstanding usage. (Number of messages on
- queue and total number of bytes in messages on queue for message
- queues and number of processes attached to shared memory segments.)
-
- ----pppp Print process number information. (Process ID of last process to
- send a message and process ID of last process to receive a message
- on message queues and process ID of creating process and process ID
- of last process to attach or detach on shared memory segments) See
- below.
-
- ----tttt Print time information. (Time of the last control operation that
- changed the access permissions for all facilities. Time of last
- _m_s_g_s_n_d and last _m_s_g_r_c_v on message queues, last _s_h_m_a_t and last _s_h_m_d_t
- on shared memory, last _s_e_m_o_p(2) on semaphores.) See below.
-
- ----aaaa Use all print _o_p_t_i_o_n_s. (This is a shorthand notation for ----bbbb, ----cccc,
- ----oooo, ----pppp, and ----tttt.)
-
-
-
-
-
- PPPPaaaaggggeeee 1111
-
-
-
-
-
-
- IIIIPPPPCCCCSSSS((((1111)))) IIIIPPPPCCCCSSSS((((1111))))
-
-
-
- ----CCCC _c_o_r_e_f_i_l_e
- Use the file _c_o_r_e_f_i_l_e in place of ////ddddeeeevvvv////kkkkmmmmeeeemmmm.
-
- ----NNNN _n_a_m_e_l_i_s_t
- The argument will be taken as the name of an alternate _n_a_m_e_l_i_s_t
- (////uuuunnnniiiixxxx is the default).
-
- The column headings and the meaning of the columns in an _i_p_c_s listing are
- given below; the letters in parentheses indicate the _o_p_t_i_o_n_s that cause
- the corresponding heading to appear; aaaallllllll means that the heading always
- appears. Note that these _o_p_t_i_o_n_s only determine what information is
- provided for each facility; they do _n_o_t determine which facilities will
- be listed.
-
- TTTT (all) Type of the facility:
- qqqq message queue;
- mmmm shared memory segment;
- ssss semaphore.
- IIIIDDDD (all) The identifier for the facility entry.
- KKKKEEEEYYYY (all) The key used as an argument to _m_s_g_g_e_t, _s_e_m_g_e_t, or _s_h_m_g_e_t
- to create the facility entry. (Note: The key of a
- shared memory segment is changed to IIIIPPPPCCCC____PPPPRRRRIIIIVVVVAAAATTTTEEEE when the
- segment has been removed until all processes attached to
- the segment detach it.)
- MMMMOOOODDDDEEEE (all) The facility access modes and flags: The mode consists
- of 11 characters that are interpreted as follows:
- The first two characters are:
- RRRR if a process is waiting on a _m_s_g_r_c_v;
- SSSS if a process is waiting on a _m_s_g_s_n_d;
- DDDD if the associated shared memory segment has been
- removed. It will disappear when the last
- process attached to the segment detaches it;
- CCCC if the associated shared memory segment is to be
- cleared when the first attach is executed;
- ---- if the corresponding special flag is not set.
-
- The next 9 characters are interpreted as three sets of
- three bits each. The first set refers to the owner's
- permissions; the next to permissions of others in the
- user-group of the facility entry; and the last to all
- others. Within each set, the first character indicates
- permission to read, the second character indicates
- permission to write or alter the facility entry, and the
- last character is currently unused.
-
- The permissions are indicated as follows:
-
- rrrr if read permission is granted;
- wwww if write permission is granted;
- aaaa if alter permission is granted;
-
-
-
-
-
- PPPPaaaaggggeeee 2222
-
-
-
-
-
-
- IIIIPPPPCCCCSSSS((((1111)))) IIIIPPPPCCCCSSSS((((1111))))
-
-
-
- ---- if the indicated permission is _n_o_t granted.
- OOOOWWWWNNNNEEEERRRR (all) The login name of the owner of the facility entry.
- GGGGRRRROOOOUUUUPPPP (all) The group name of the group of the owner of the facility
- entry.
- CCCCRRRREEEEAAAATTTTOOOORRRR(a,c) The login name of the creator of the facility entry.
- CCCCGGGGRRRROOOOUUUUPPPP (a,c) The group name of the group of the creator of the
- facility entry.
- CCCCBBBBYYYYTTTTEEEESSSS (a,o) The number of bytes in messages currently outstanding on
- the associated message queue.
- QQQQNNNNUUUUMMMM (a,o) The number of messages currently outstanding on the
- associated message queue.
- QQQQBBBBYYYYTTTTEEEESSSS (a,b) The maximum number of bytes allowed in messages
- outstanding on the associated message queue.
- LLLLSSSSPPPPIIIIDDDD (a,p) The process ID of the last process to send a message to
- the associated queue.
- LLLLRRRRPPPPIIIIDDDD (a,p) The process ID of the last process to receive a message
- from the associated queue.
- SSSSTTTTIIIIMMMMEEEE (a,t) The time the last message was sent to the associated
- queue.
- RRRRTTTTIIIIMMMMEEEE (a,t) The time the last message was received from the
- associated queue.
- CCCCTTTTIIIIMMMMEEEE (a,t) The time when the associated entry was created or
- changed.
- NNNNAAAATTTTTTTTCCCCHHHH (a,o) The number of processes attached to the associated shared
- memory segment.
- SSSSEEEEGGGGSSSSZZZZ (a,b) The size of the associated shared memory segment.
- CCCCPPPPIIIIDDDD (a,p) The process ID of the creator of the shared memory entry.
- LLLLPPPPIIIIDDDD (a,p) The process ID of the last process to attach or detach
- the shared memory segment.
- AAAATTTTIIIIMMMMEEEE (a,t) The time the last attach was completed to the associated
- shared memory segment.
- DDDDTTTTIIIIMMMMEEEE (a,t) The time the last detach was completed on the associated
- shared memory segment.
- NNNNSSSSEEEEMMMMSSSS (a,b) The number of semaphores in the set associated with the
- semaphore entry.
- OOOOTTTTIIIIMMMMEEEE (a,t) The time the last semaphore operation was completed on
- the set associated with the semaphore entry.
-
- FFFFIIIILLLLEEEESSSS
- /unix system namelist
- /dev/kmem memory
- /etc/passwd user names
- /etc/group group names
-
- SSSSEEEEEEEE AAAALLLLSSSSOOOO
- msgop(2), semop(2), shmop(2)
-
- BBBBUUUUGGGGSSSS
- Things can change while _i_p_c_s is running; the picture it gives is only a
- close approximation to reality.
-
-
-
-
-
- PPPPaaaaggggeeee 3333
-
-
-
-